<%@ include file="include.jsp" %>
<!-- start main page -->

<div id="content-wrap">
<div id="main">
<c:if test='${not empty drugList}'> 
<h3>Your search returned the following drugs</h3>
<hr />
<c:forEach var="drug" items="${drugList}">
<br/>
<ul>
<li><a href="drugDetail.html?id=${drug.id}">${drug.name}</a></li>
</ul>
</c:forEach>
</c:if>

<c:if test='${not empty aliasList}'> 
<h3>You searched using a generic name.  Matching brand name drugs are listed below</h3>
<hr />
<c:forEach var="drug" items="${aliasList}">
<br/>
<ul>
<li><a href="drugDetail.html?id=${drug.id}">${drug.name}</a></li>
</ul>
</c:forEach>
</c:if>
<br/>
<br/>
<a href="home.html">Return Home</a></h3>
</div>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<div id="sidebar">
<div style="text-align: left;">

</div>
</div>
</div>





<!-- end main page -->
